import request from '@/utils/request'



//考勤列表
export function getAttendanceList(params) {
  return request({
    url: '/attendances',
    method: 'get',
    params
  })
}

// 考勤状态列表
export function getAttendanceStatusList(params) {
  return request({
    url: '/attendances/adtStatu/list',
    params
    
  })
}
 // 更改考勤状态
export function updateAttendanceStatus(params) {
  return request({
    url: `/attendances/${params.id}`,
    method: 'put',
    data: params    
  })
}